// 自定义组件
.back {
  position: absolute;
  width: 40rpx;
  height: 40rpx;
  /* border:black 1rpx solid; */
  border-radius: 50%;
  left: 20rpx;
}
.back1 {
  position: absolute;
  left: 80rpx;
}

.productions_Carousel {
  width: 100%;
  height: 400rpx;
  // background-color: yellowgreen;
  swiper {
    height: 100%;
    width: 100%;
    text-align: center;
    swiper-item {
      image {
        width: 60%;
      }
    }
  }
}

.header {
  margin: 30rpx 30rpx;
  display: flex;
  justify-content: space-between;
  .header_l {
    margin: 0 15rpx;
    .header_1 {
      font-size: 30rpx;
    }
    .header_2 {
      font-size: 25rpx;
      color: gray;
    }
  }
  .header_r {
    font-size: 25rpx;
    margin-right: 15rpx;
    .header_r_price {
      color: red;
      font-weight: bolder;
    }
    .header_r_date {
      color: gray;
    }
  }
}
.needs {
  display: flex;
  width: 100%;
  height: 80rpx;
  // background-color: yellow;
  .production_needs {
    flex: 1;
    display: flex;
    height: 80%;
    margin: 0 30rpx;
    border: 2rpx solid #cccccc;
    border-radius: 20rpx;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30rpx 30rpx;
    .image {
      width: 30rpx;
      height: 30rpx;
      background-color: #ff9692;
    }
    .needs_detail {
      flex: 1;
      display: flex;
      flex-direction: column;
      font-size: small;
      color: gray;
      .needs_detail_num {
        color: red;
      }
    }
  }
}

.production {
  // background-color: hotpink;
  margin: 80rpx 30rpx;
  .production_header {
    display: block;
    margin-left: 10rpx;
    margin-bottom: 10rpx;
    border-bottom: 1px solid gray;
  }
  .production_icons {
    width: 100%;
    height: 400rpx;
    background-color: #ff9692;
  }
}

// 底部工具栏
.btm_tool {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90rpx;
  background-color: aliceblue;
  display: flex;
  .tool_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24rpx;
    .icon-shoucangxing2 {
      color: orangered;
    }
    position: relative;
    button {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }
  .btn_cart {
    color: white;
    flex: 2;
    text-align: center;
    line-height: 90rpx;
    font-weight: bold;
    background-color: orange;
  }
  .btn_buy {
    color: white;
    flex: 2;
    text-align: center;
    line-height: 90rpx;
    font-weight: bold;
    background-color: orangered;
  }
}
